]> dgit.raspbian.org Git - gnome-shell.git/commit
Fix insensitive styling for popup menu items
authorGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 11 Sep 2012 12:00:22 +0000 (14:00 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Thu, 13 Sep 2012 21:48:17 +0000 (23:48 +0200)
commit7499b0463808471607d218441c758fa1e5652e83
tree998ea7c2d3f35b532122947851ba2a05060f4ab5
parentbf2d2071fc6062d25a6dadea830df5a5e2cbbb27
Fix insensitive styling for popup menu items

The selector for insensitive popup menu items was wrong (a PopupMenuItem is
a ShellGenericContainer, not a StButton). Fixing it showed that previous
:insensitive tracking was manual for a reason: we have many items that are
not reactive, but don't want the insensitive styling (for example those in
the battery menu).
Fix it by adding a new style-class, popup-inactive-menu-item, that is added
to all new PopupMenuItems that are not activatable.

https://bugzilla.gnome.org/show_bug.cgi?id=683988
data/theme/gnome-shell.css
js/ui/popupMenu.js
js/ui/status/network.js